chore: Update release process with latest updates#3525
Open
louismaximepiton wants to merge 1 commit intoouds/mainfrom
Open
chore: Update release process with latest updates#3525louismaximepiton wants to merge 1 commit intoouds/mainfrom
louismaximepiton wants to merge 1 commit intoouds/mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the repository’s release workflow documentation and helper scripts to reflect the current multi-brand docs/output structure and add convenience commands for packaging/publishing.
Changes:
- Update Storybook story generation to read built docs from the new
_site/<brand>/docs/<version>/...location. - Add root-level npm scripts for packing and publishing the root package and all brand packages.
- Refresh the OUDS release PR template to match the updated release/publish steps.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
stories/create-stories-from-doc.js |
Points Puppeteer to the new built-docs path used for generating Storybook stories. |
package.json |
Adds pack/publish helper scripts for multi-package release operations. |
.github/PULL_REQUEST_TEMPLATE/ouds-release-template.md |
Updates the human release checklist to use the new scripts and tagging steps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| await Promise.all([ | ||
| page.waitForNavigation(), | ||
| page.goto(`file://${__dirname}/../_site/docs/${file[1]}/${convertToKebabCase(file[0])}/index.html`), | ||
| page.goto(`file://${__dirname}/../_site/orange/docs/1.2/${file[1]}/${convertToKebabCase(file[0])}/index.html`), |
| "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json", | ||
| "update-deps": "ncu -u -x eslint,eslint-config-xo,eslint-plugin-unicorn,karma-browserstack-launcher,karma-rollup-preprocessor,sass", | ||
| "pack": "npm pack && cd packages/orange-compact && npm pack && cd ../sosh && npm pack && cd ../orange && npm pack", | ||
| "publish": "npm login && npm publish --access public && cd packages/orange-compact && npm publish --access public && cd ../sosh && npm publish --access public && cd ../orange && npm publish --access public", |
| - Publish: | ||
| - if you're releasing a pre-release, use `--tag`, e.g. for v1-alpha1 `npm publish ouds-web-1.0.0-alpha1.tgz --tag next` | ||
| - `npm publish` | ||
| - `npm run publish` |
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following the release just made.